package myapp.framelibrary.db;

/**
 * Created by 超 on 2017/6/27.
 */

public class DaoUtil {
    public static String getColumnType(String type){
        String value = null;
        if (type.contains("String")) value = " text";
        else if (type.contains("int")) value = " integer";
        else if (type.contains("boolean")) value = " boolean";
        else if (type.contains("float")) value = " float";
        else if (type.contains("double")) value = " double";
        else if (type.contains("char")) value = " varchar";
        else if (type.contains("long")) value = " long";
        return value;
    }

    public static String capitalize(String name) {
        return name;
    }
}
